package day0723;

import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        String question="半字写下";
        System.out.println( question);
        Scanner s=new Scanner(System.in);
        for(;1>0;){
            System.out.println("请输入答案");
            String answer = s.nextLine();
            if(answer.equals("干")){
                System.out.println("恭喜你，猜对了");
                break;
            }else if(answer.equals("bye")){
                break;
            }else{
                System.out.println("回单不正确，请继续回答");
            }
        }
    }
}
